package com.example.administrator.yuejian35.Home.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.example.administrator.yuejian35.R;

/**
 * Created by JUSTIN on 2017/9/26.
 */

public class ActivityViewHolder extends RecyclerView.ViewHolder {

    public TextView name;
    public TextView time;
    public TextView collect;
    public TextView apply;
    public TextView price;
    public TextView address;
    public TextView tel;


    public View itemView;  //添加监听器

    public ActivityViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;

        name = (TextView) itemView.findViewById(R.id.activity_name);
        time= (TextView) itemView.findViewById(R.id.activity_time);
        collect= (TextView) itemView.findViewById(R.id.cellect_people);
        apply= (TextView) itemView.findViewById(R.id.apply_people);
        price= (TextView) itemView.findViewById(R.id.price_activity);
        address= (TextView) itemView.findViewById(R.id.activity_address);
        tel= (TextView) itemView.findViewById(R.id.activity_tel);

    }
}
